/****************************************************************
 * Filename: devDemo.c
 * -------------------------------
 * Copyright(C),
 * Author: zhenquan.qiu
 * Version: V1.0.0
 * Last modified: 01/03 2017 16:50
 * Description:
 *
 * Change Log:
 * NO.	Author		    Date		Modified
 * 00	zhenquan.qiu	01/03 2017
 ****************************************************************/
#include <linux/module.h>
#include <linux/init.h>

#include "busDemo.h"
#include "debugk.h"

static unsigned int gDebugMask = LOG_ERROR;

static struct busdemo_device devdemo_device = {
    .name 	= "bustest",
};

static int __init devdemo_init(void)
{
    FUNC_ENTER();

    return register_busdemo_device(&devdemo_device);
}

static void __exit devdemo_exit(void)
{
    FUNC_ENTER();

    unregister_busdemo_device(&devdemo_device);
}

module_init(devdemo_init);
module_exit(devdemo_exit);

MODULE_AUTHOR("gnsyxiang <gnsyxiang@163.com>");
MODULE_LICENSE("Dual BSD/GPL");

